//
//  LGTextView.h
//  VVdaGong
//
//  Created by LGSC on 2018/5/30.
//  Copyright © 2018年 gongyouzhijia. All rights reserved.
//

#import "SLKTextView.h"

@protocol LGTextViewdDelegate <NSObject>

@optional
/**
 * 输入文本改变响应方法
 */
- (void)LGtextViewDidChange:(UITextView *)textView;
/**
 * 输入文本响应方法
 */
- (BOOL)LGtextView:(UITextView *)textView LGshouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text;
/**
 * 编辑完成响应方法
 */
-(void)LGtextViewDidEndEditing:(UITextView *)textView;
@end

@interface LGTextView : SLKTextView<SLKTextViewDelegate,UITextViewDelegate>

@property (weak, nonatomic) id<LGTextViewdDelegate> my_delegate;

- (void)setMyTextView;
@end
